package com.bbs.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2020-11-09 11:36:56 
 */

@Entity
@Table ( name ="user_info" , schema = "")
public class UserInfo  implements Serializable {

	private static final long serialVersionUID =  1724093934886232089L;

	@Id
   	@Column(name = "id" )
	private Long id;

   	@Column(name = "uid" )
	private Long uid;

   	@Column(name = "nick" )
	private String nick;

   	@Column(name = "gender" )
	private Boolean gender;

   	@Column(name = "phone" )
	private Long phone;

   	@Column(name = "email" )
	private String email;

   	@Column(name = "hobbies" )
	private String hobbies;

   	@Column(name = "level" )
	private Long level;

   	@Column(name = "head_portrait" )
	private String headPortrait;

   	@Column(name = "create_time" )
	private Date createTime;

   	@Column(name = "update_time" )
	private Date updateTime;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUid() {
		return this.uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public Boolean getGender() {
		return this.gender;
	}

	public void setGender(Boolean gender) {
		this.gender = gender;
	}

	public Long getPhone() {
		return this.phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getHobbies() {
		return this.hobbies;
	}

	public void setHobbies(String hobbies) {
		this.hobbies = hobbies;
	}

	public Long getLevel() {
		return this.level;
	}

	public void setLevel(Long level) {
		this.level = level;
	}

	public String getHeadPortrait() {
		return this.headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
					"uid='" + uid + '\'' +
					"nick='" + nick + '\'' +
					"gender='" + gender + '\'' +
					"phone='" + phone + '\'' +
					"email='" + email + '\'' +
					"hobbies='" + hobbies + '\'' +
					"level='" + level + '\'' +
					"headPortrait='" + headPortrait + '\'' +
					"createTime='" + createTime + '\'' +
					"updateTime='" + updateTime + '\'' +
				'}';
	}

}
